package com.abcdefg.demo.constants;

public class Constants {

    public static final String Host="123.249.25.146";
    public static final int Port=5672;
    public static final String VirtualHost="java";
    public static final String UserName="ABCDEFG";
    public static final String Password="20041106";
    //工作队列模式
    public static final String WORK_QUEUE = "work.queue";
    //发布订阅模式
    public static final String FANOUT_EXCHANGE = "fanout.exchange";
    public static final String FANOUT_QUEUE1 = "fanout.queue1";
    public static final String FANOUT_QUEUE2 = "fanout.queue2";
    //路由模式
    public static final String DIRECT_QUEUE2 = "direct.queue2";
    public static final String DIRECT_QUEUE1 = "direct.queue1";
    public static final String DIRECT_EXCHANGE = "direct.exchange";
    //通配符模式
    public static final String TOPIC_QUEUE2 = "topic.queue2";
    public static final String TOPIC_QUEUE1 = "topic.queue1";
    public static final String TOPIC_EXCHANGE = "topic.exchange";
    //RPC模式
    public static final String RPC_REQUEST_QUEUE2 = "rpc.request.queue2";
    public static final String RPC_RESPONSE_QUEUE1 = "rpc.response.queue1";

    //发布确认模式
    public static final String PUBLISH_CONFIRMS_QUEUE1 = "publish.confirms.queue1";
    public static final String PUBLISH_CONFIRMS_QUEUE2 = "publish.confirms.queue2";
    public static final String PUBLISH_CONFIRMS_QUEUE3 = "publish.confirms.queue3";

}
